package org.example.service.managebackend.module.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.service.managebackend.module.user.domain.dto.UserDTO;
import org.example.service.managebackend.module.user.domain.entity.UserEntity;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {
    UserDTO login(@Param("username") String username, @Param("password") String password);
}
